package com.zh.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.zh.domain.Model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @TableName team_user_history
 */
@TableName(value ="team_user_history")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@ApiModel(value = "TeamUserHistory",description = "团队成员变动记录表")
public class TeamUserHistory extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("团队id")
    private Integer teamId;
    @ApiModelProperty("邀请人id")
    private Integer inviterId;
    @ApiModelProperty("被邀请人id")
    private Integer invitedId;
    @ApiModelProperty("申请者id")
    private Integer applicantId;
    @ApiModelProperty("离开人id")
    private Integer removeId;
    @ApiModelProperty("申请类型0申请1邀请2创建3离开")
    private Integer type;
    @ApiModelProperty("申请结果0拒绝1同意")
    private Integer result;
    @ApiModelProperty("处理状态0已处理1未处理")
    private Integer status;

}